package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {

    void add(Permission permission);

    PageResult findByPage(QueryPageBean queryPageBean);

    void delById(Integer id);

    Permission findById(Integer id);


    void edit(Permission permission);

    List<CheckGroup> findAll();
}
